/*
* 命名空间: Project.Model
*
* 功 能： T_Employee实体类
*
* 类 名： T_EmployeeEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Employee")]
    public class T_EmployeeEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = true)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 19,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Name",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Name
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "PYM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PYM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "PImage",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PImage
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CardImage",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CardImage
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "No",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string No
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 10,DataLength = 10,DecimalDigits = 0,ColumnName = "Sex",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Sex
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Post",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Post
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "PostID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? PostID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "MID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int MID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "MName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string MName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Code",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Code
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Address",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Address
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Phone",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Phone
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CrashPerson",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CrashPerson
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CrashPhone",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CrashPhone
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "WorkTypeID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? WorkTypeID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "WorkType",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string WorkType
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 20,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "MonthMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal MonthMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "DayMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal DayMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "DayMoneyST",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal DayMoneyST
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "OverMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal OverMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "UpdateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? UpdateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Reason",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Reason
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "WorkINDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? WorkINDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 1,DecimalDigits = 0,ColumnName = "ZTBS",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public bool ZTBS
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FYear",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? FYear
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "BankNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BankNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "BankName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BankName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "FState",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte FState
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "FDays",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal FDays
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 40,DataLength = 20,DecimalDigits = 0,ColumnName = "Credit",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Credit
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "CheckZT",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public byte CheckZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CheckTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CheckTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsSubmit",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public byte IsSubmit
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "SubmitUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string SubmitUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "SubmitUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string SubmitUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "SubmitTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? SubmitTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 53,DecimalDigits = 0,ColumnName = "PostMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public double PostMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 53,DecimalDigits = 0,ColumnName = "SocialMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public double SocialMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 53,DecimalDigits = 0,ColumnName = "HouseMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public double HouseMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "OrgaizeBM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int OrgaizeBM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "OrgaizeName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string OrgaizeName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 40,DataLength = 20,DecimalDigits = 0,ColumnName = "CapNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CapNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 3,DataLength = 10,DecimalDigits = 0,ColumnName = "InsureEndDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? InsureEndDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 400,DataLength = 200,DecimalDigits = 0,ColumnName = "InsureRmark",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string InsureRmark
        {
            get; set;
        }
    }
}
